package cc.rengu.redp.bizimpl.igas.service;

import cc.rengu.redp.bizimpl.igas.domain.PDstChannelInfo;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘玉亮.LL
 * @since 2021-06-08
 */
public interface PDstChannelInfoService extends IService<PDstChannelInfo> {

    String getOprMenuName();

    String getOprMenuId();

    PDstChannelInfo  findOne(String instId, String dstChannelId) throws RedpException;

    IPage<PDstChannelInfo> findByPage(QueryRequest request, PDstChannelInfo info);

    @Transactional
    void update(PDstChannelInfo entity) throws RedpException;

    String getSupportAcctType(String pageAccType);
}
